package com.chaopei.msite_web.utils;

import javax.servlet.http.HttpSession;

/**
 * @Author Corday 天涯
 * @Date 2022/5/5 11:21
 */
public class UserLogout {
    public static void logout(HttpSession session) {
//        用户退出,清理session
        if (session != null) {
            session.invalidate();
        }
    }
}
